from os import *


def d(pfiles):
    files = listdir(pfiles)
    #print(files)
    #filesu = [files.encode('utf-8') for files in items]
    for name in files:
        dirpointer = pfiles+'\\'+name+'\\'
        print(pfiles+'\\'+name  )
        #print(path.isdir(dirpointer))
        if(path.isdir(dirpointer)):
            d(u''+dirpointer+'')
        #print(name.isdir)'''

#print(help(listdir))
d(u'D:\\')